package com.atguigu.ware.wares.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-product")
public interface WareToProductFeign {
    @GetMapping("/product/skuinfo/ware/info/{skuId}")
     R queryByWareInfo(@PathVariable("skuId") Long skuId);
}
